package com.zlx.guguanjia.service;

import com.github.pagehelper.PageInfo;
import com.zlx.guguanjia.entity.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Author 周罗校
 * @Description
 * @ClassName SysRoleService
 * @date 2020.11.03 18:58:33
 * 该版权归周罗校所有，最终解释权以官方为准
 */
public interface SysRoleService extends BaseService<SysRole,Long>{
    public PageInfo selectPage(int start, int pageSize, Map<String, Object> condition);
    //批量删除
    int deleteBatch(long rid,long[] ids);
    //批量添加
    int insertBatch(long rid, List<Long> cids);
    //删除的业务需求
    int updateByPrimaryKeySelective(Map<String, Object> params);
}
